package com.lhc.service;

import com.lhc.error.BusniessException;
import com.lhc.service.model.UserModel;
import org.springframework.web.bind.annotation.RequestParam;

public interface UserService {
    //通过id获取model对象
    UserModel selectByPrimaryKey(Integer id);
    //注册
    void register(UserModel userModel) throws BusniessException;
    //用户登录
    UserModel validateLogin(String telphone, String encrptPassword) throws BusniessException;
}
